c program to calculate square of a number from 1 to 10